package com.ebupt.migu.music.autoTri.Entity;

import java.io.Serializable;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import lombok.Data;

/**
 * @author xuhongsong
 * @version 1.0
 * @date 2020/10/10 15:22
 */
@Data
public class SingerBlackListBean implements Serializable {
    // 主键Id
    private int id;
    //  歌手id
    @Length(min=0,max=20,message = "歌手id不能超过100字符！")
    private Long singerId ;
    //  歌手名称
    @Length(min=0,max=20,message = "歌手名称只能不能超过100字符！")
    private String singerName;
    //  备注
    @Length(min=0,max=20,message = "备注不能超过20字符！")
    private String remark;
    //  状态1 有效 2删除
    private int   status;
    //  添加 1.手动添加 2文件导入
    @NotNull(message = "添加类型不能为空")
    private int   type;
    //  csv路径
    private String   csvUrl;
    // 创建人
    private String createUser;
    // 创建人ID
    private String creatorId;
   // 创建人部门
    private String creatorDepartment;
    // 修改人
    private String updateUser;

    public SingerBlackListBean(Long singerId,String singerName,String remark,int type,
                               String  csvUrl,String createUser,String updateUser,String creatorId,String creatorDepartment){
        this.singerId=singerId;
        this.singerName=singerName;
        this.remark=remark;
        this.type=type;
        this.csvUrl=csvUrl;
        this.createUser=createUser;
        this.updateUser=updateUser;
        this.creatorId=creatorId;
        this.creatorDepartment=creatorDepartment;
    }
}
